<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
    <HelloWorld msg="Welcome to Your Vue.js + TypeScript App" />
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { initPlatform } from '@/plugins'

export default defineComponent({
  name: 'Home',
  components: {},
  mounted () {
    console.log('-- Home Page --')
    initPlatform((electron) => {
      electron.ipcRenderer.send('login', {
        auth: 'default value'
      })
    })
  }
})
</script>
